← Back to issue list

snapcraft version number output inconsistent

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1742585
Type
issue
State
open
Author
~popey
Labels
Created
2018-01-11 01:05:33.308747+00:00
Updated
2018-01-11 01:05:33.308747+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

"snapcraft push" shows trailing zeores on version numbers, but "snapcraft release" and "snapcraft status" truncate the trailing zero. "snapcraft push" is correct, the others are wrong. Running snapcraft 2.35 via apt. I have a snap (get-iplayer) which is version "3.10" in the snapcraft yaml. I have pushed it to the store and released to all channels. Snapcraft push says this:- # snapcraft push get-iplayer_3.10_armhf.snap --release candidate,beta,edge Pushing get-iplayer_3.10_armhf.snap After pushing, an attempt to release to ['candidate', 'beta', 'edge'] will be made Preparing to push '/root/get-iplayer_3.10_armhf.snap' to the store. Pushing get-iplayer_3.10_armhf.snap [==============================================================================] 100% Processing...| Ready to release! Revision 9 of 'get-iplayer' created. Track Arch Channel Version Revision latest armhf stable - - candidate 3.10 9 beta 3.10 9 edge 3.10 9 I then released:- # snapcraft release get-iplayer 9 stable Track Arch Channel Version Revision latest armhf stable 3.1 9 candidate 3.1 9 beta 3.1 9 edge 3.1 9 The 'stable' channel is now open. When I later checked the versions in channels (after releasing to stable), I see this:- # snapcraft status get-iplayer Track Arch Channel Version Revision latest amd64 stable 3.1 7 candidate 3.1 7 beta 3.1 7 edge 3.1 7 armhf stable 3.1 9 candidate 3.1 9 beta 3.1 9 edge 3.1 9 i386 stable 3.1 8 candidate 3.1 8 beta 3.1 8 edge 3.1 8

Evaluation history

No evaluation history available.